package com.h3c.ptability.mapstruct;

import com.h3c.ptability.bo.SendEmailBO;
import com.h3c.ptability.entity.PtEmailRecord;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author chenyifan
 * @date 2022/7/21 14:26
 */
@Mapper
public interface PtEmailRecordMapstruct {

    PtEmailRecordMapstruct INSTANCE = Mappers.getMapper(PtEmailRecordMapstruct.class);

    /**
     * bo转成实体类
     * @param sendEmailBO
     * @return
     */
    PtEmailRecord bo2Entity(SendEmailBO sendEmailBO);
}
